body {
    width: 100%;
    max-width: 1080px;
    min-width: 320px;
    margin: 0 auto;
    font-size: 14px;
    background-color: #f6f6f6;
    line-height: 1.5;
    color: #666;
    font-family: -apple-system, Helvetica, sans-serif;
    overflow-x: hidden;
}


/* 移动端对超链接点击时加的背景颜色设置为透明色 */

* {
    -webkit-tap-highlight-color: transparent;
}


/* ios移动端浏览器中加上以下属性才可以对按钮和输入框自定义样式 */

input {
    -webkit-appearance: none;
}

img {
    vertical-align: middle;
    /* 图片和超链接上禁用长按页面时弹出菜单 */
    -webkit-touch-callout: none;
}

a {
    text-decoration: none;
    color: #333;
    /* 图片和超链接上禁用长按页面时弹出菜单 */
    -webkit-touch-callout: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.app {
    height: 45px;
}

.app ul li {
    float: left;
    height: 45px;
    background-color: #333;
    text-align: center;
    line-height: 45px;
    color: #fff;
}

.app ul li:nth-child(1) {
    width: 8%;
}

.app ul li:nth-child(1) img {
    width: 10px;
}

.app ul li:nth-child(2) {
    width: 10%;
}

.app ul li:nth-child(2) img {
    width: 30px;
    vertical-align: middle;
}

.app ul li:nth-child(3) {
    width: 57%;
}

.app ul li:nth-child(4) {
    width: 25%;
    background-color: #f63515;
}


/* 搜索区域 */

.search-wrap {
    position: fixed;
    height: 44px;
    width: 100%;
    overflow: hidden;
    min-width: 320px;
    max-width: 1080px;
}

.search-wrap .search-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 44px;
}

.search-wrap .search-btn::before {
    content: '';
    display: block;
    background: url(../images/nav.png)no-repeat;
    width: 20px;
    height: 18px;
    background-size: 20px 18px;
    margin: 14px 0 0 15px;
}

.search-wrap .search-btn a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.search-wrap .search-login {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 44px;
    color: #fff;
    line-height: 44px;
    text-align: center;
}

.search-wrap .search {
    position: relative;
    height: 30px;
    background: #fff;
    margin: 7px 50px 0;
    border-radius: 15px;
}

.search .jd-icon {
    position: absolute;
    top: 8px;
    left: 15px;
    width: 20px;
    height: 15px;
    background: url(../images/jd.png) no-repeat;
    background-size: 20px 15px;
}

.search .jd-icon::after {
    position: absolute;
    left: 27px;
    top: 0;
    content: '';
    height: 16px;
    border-right: 1px solid #ddd;
}

.search .sou {
    position: absolute;
    top: 8px;
    left: 50px;
    width: 18px;
    height: 15px;
    background: url(../images/jd-sprites.png) no-repeat -81px 0;
    /* 精灵图缩放为原来的一半 */
    background-size: 200px;
}

.search-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 30px;
    overflow: hidden;
    border-radius: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.search input {
    position: absolute;
    left: 80px;
    top: 7px;
    outline: none;
    border: none;
    line-height: 16px;
    height: 16px;
    font-size: 12px;
    width: 100%;
}


/* 主体区域 */

.main-content .slider img {
    width: 100%;
}

.brand {
    display: flex;
}

.brand div img {
    width: 100%;
}


/* 导航区域 */

.nav {
    padding-top: 5px;
    transform: translateX(0%);
    transition: all .5s ease;
}

.nav .nav-item {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.nav .nav-item a {
    float: left;
    width: 20%;
    text-align: center;
}

.nav .nav-item a img {
    width: 43px;
    margin-top: 5px;
}

.nav .nav-item span {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.nav .nav-item2 {
    left: 100%;
}